#ifndef _ENTITY_I_H
#define	_ENTITY_I_H


#include <iostream>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "Dictionnary.hh"
#include "Word_i.h"

using namespace std;
using namespace Dict;

class Entity_i : public POA_Dict::Entity,
	         public PortableServer::RefCountServantBase 
{

	//private:
	public:
		char* definition;
		Word_i word;	
	
		inline Entity_i(){}
		Entity_i (Word_i wd, char* def);
		virtual ~Entity_i();	

		Word_ptr myEntry();
    		char* myDefinition();
		
		void setDefinition(char * def);
		//virtual char* getDefinition();

		//virtual void setWord(Word_ptr wd);
		//Word_ptr getWord();
};
#endif	/* _ENTITY_I_H */

